package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.dto.CheckGroupDto;
import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.CheckGroup;
import com.itheima.pojo.CheckItem;
import com.itheima.vo.CheckGroupVo;

import java.util.List;

/**
 * company: www.abc.com
 * Author: 29746
 * Create Data: 2020/11/12
 */
public interface CheckGroupService extends IService<CheckGroup> {
    List<CheckGroup> findAll();

    boolean deleteById(Long id);

    PageResult findByPage(QueryPageBean queryPageBean);

    boolean saveGroupAndItem(CheckGroupDto checkGroupDto);


    List<CheckGroupVo> findCheckGroupBySetMealId(Long setmealId);
}
